﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace Simple.CMS.Web
{
    /// <summary>
    /// 异步请求操作结果
    /// </summary>
    public class Result
    {
        /// <summary>
        /// code 默认 1
        /// </summary>
        [JsonProperty("code")]
        public int Code { get; set; } = 1;

        [JsonProperty("data")]
        public object Data { get; set;}

        [JsonProperty("msg")]
        public string Message { get; set; }
    }
}
